package com.csd.pojo;
// default package

import java.util.Date;


/**
 * @JavaBean Team
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description 花费记录
 */

public  class CostRecord  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
	/**数据库唯一标识*/
     private Integer id;
     /**对应的工程*/
     private Project project;
     /**花费的时间*/
     private Date time;
     /**花费的细节*/
     private String detail;
     /**花费金额*/
     private Double money;


    // Constructors

    /** default constructor */
    public CostRecord() {
    }

    
    /** full constructor */
    public CostRecord(Project project, Date time, String detail, Double money) {
        this.project = project;
        this.time = time;
        this.detail = detail;
        this.money = money;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Project getProject() {
        return this.project;
    }
    
    public void setProject(Project project) {
        this.project = project;
    }

    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }

    public String getDetail() {
        return this.detail;
    }
    
    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Double getMoney() {
        return this.money;
    }
    
    public void setMoney(Double money) {
        this.money = money;
    }
   








}